package com.lanou.service;

import com.github.pagehelper.PageInfo;
import com.lanou.entity.CourseRating;

import java.util.List;

public interface CourseRatingService {
    int addCourseRating(CourseRating courseRating);
    int deleteCourseRatingById(int id);
    int updateCourseRatingByUserIdAndCourseId(CourseRating courseRating);
    PageInfo<CourseRating> selectCourseRatingByCourseIdPage(int CourseId,int pageNum,int pageSize);
}
